package kevin.hbase.monitor;

import lombok.Data;
import org.apache.hadoop.hbase.ServerName;

import java.util.ArrayList;
import java.util.Collection;

@Data
public class HbaseStatus {
    Collection<ServerName> aliveServers;
    Collection<ServerName> deadServers;
    int totalRPS;

    public void reset() {
        totalRPS = 0;
        aliveServers = new ArrayList<>();
        deadServers = new ArrayList<>();
    }
}
